   
  
   <script src="<?=base_url().$this->config->item('FAL_assets_shared').'/'.$this->config->item('FAL_js');?>/calendar.js" type="text/javascript"></script>
   <script src="<?=base_url().$this->config->item('FAL_assets_shared').'/'.$this->config->item('FAL_js');?>/calendar-setup.js" type="text/javascript"></script>
   <script src="<?=base_url().$this->config->item('FAL_assets_shared').'/'.$this->config->item('FAL_js');?>/calendar-en.js" type="text/javascript"></script>
   <link rel="stylesheet" type="text/css" href="<?=base_url().$this->config->item('FAL_assets_shared').'/'.$this->config->item('FAL_css');?>/skins/aqua/theme.css" />
    <h1><?=$action?></h1>
    <?=form_open($form_action);?>
    <p  id="style-text1"><?=$this->lang->line('CNC_services_info')?></p>
              <table>
               <tr><td>
               <?=form_textarea(array('id'=>'details',
                      'name'=>'details',
                       'rows'=>"6" ,'cols'=>"60",
                     'value' =>(isset($this->fal_validation) ? $this->fal_validation->{'details'} : ''))); ?>
                      
                     <?=(isset($this->fal_validation) ? $this->fal_validation->{'details'.'_error'} : '') ?>
                     </td>
		       </tr>
               <tr><td>
            <table>
            <tr>
         <td><?=$this->lang->line('CNC_services_date_time')?></td>
       <td>
          <?=form_input(array('id'=>'date',
                     'name'=>'date',
                     'value' =>'',
            
                     'size'  => '30')); ?>
                    <button type="reset" id="f_trigger_b"><img src="<?=base_url().$this->config->item('FAL_assets_shared').'/'.$this->config->item('FAL_images');?>/calender.gif" style="border:0px;" /></button>
        </td>
            <td>
             <?=form_submit(array('class'=>'submit',
					 'name'=>'Add', 
					 'id'=>'submit',
		             'size'  => '15',
		             'value'=> 'Submit',
         			 ))?>
          </td> 
          <script type="text/javascript">
        Calendar.setup({
        inputField     :    "date",      // id of the input field
        ifFormat       :    "%m/%d/%Y %I:%M %p", // format of the input field
        showsTime      :    true,            // will display a time selector
        button         :    "f_trigger_b",   // trigger for the calendar (button ID)
        singleClick    :    false,           // double-click mode
        step           :    1                // show all years in drop-down boxes (instead of every other year as default)
            });
			</script>
			  </tr>
			  </table>
			<?=(isset($this->fal_validation) ? $this->fal_validation->{'date'.'_error'} : '') ?>
			</td>
			</tr>
              </table>
           <?=form_close();?>
  <?php
 echo "<center>".$this->lang->line('CNC_services_buttoninfo')."</center>";
  ''?>
 


